home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 3 / MacMania 3.toast / Demo's / KarmaMacDemo / GAME_G1.DXR / 00224.ls < prev    next >
Encoding:
Text File  |  1995-10-24  |  527 b   |  23 lines

  1. on moveRight
  2.   global SpinCount, MoveDirection, right, myState, BallinSprite
  3.   if SpinCount < 21 then
  4.     set the locH of sprite 28 to the locH of sprite 28 + 3
  5.   else
  6.     if BallinSprite <> 12 then
  7.       set myState to 0
  8.     end if
  9.   end if
  10.   if SpinCount = 21 then
  11.     set the locH of sprite 28 to the locH of sprite 28 + 1
  12.     if BallinSprite = 12 then
  13.       DropingRight2()
  14.     else
  15.       set SpinCount to 0
  16.       set MoveDirection to right
  17.     end if
  18.   else
  19.     set SpinCount to SpinCount + 1
  20.   end if
  21.   updateStage()
  22. end
  23.